package com.hypo.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hypo.business.domain.po.Pcd;
import com.hypo.business.domain.vo.PcdVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PcdMapper extends BaseMapper<Pcd> {
    @Select("select id as value,name as label,parent_id from tb_pcd")
    List<PcdVo> getAll();
}
